package com.xbongbong.workflow.pojo.nodes;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author 吴峰
 * @date 2021/05/27 11:21
 */
@Getter
@Setter
@ToString
public class WorkflowGetNodeListPojo implements Serializable {
    private static final long serialVersionUID = 6623480496033014230L;

    private Long workflowId;

    private Long workflowNodeId;

    private Long formId;

    /**
     * 触发表单应用id
     */
    private Long appId;


    /**
     * 触发表单menu_id
     */
    private Long menuId;

    private Integer saasMark;

    private Integer businessType;

    /**
     * 表单名称
     */
    private String formName;
    /**
     * 节点名称
     */
    private String nodeName;

    /**
     * 是否可以选择 1：可以 0：不可以
     */
    private Integer choose;

    private Integer triggerNodeFlag;

    public WorkflowGetNodeListPojo(Long workflowId, Long workflowNodeId, Long formId, Long appId, Long menuId, Integer saasMark,
                                   Integer businessType, String formName, String nodeName, Integer choose, Integer triggerNodeFlag) {
        this.workflowId = workflowId;
        this.workflowNodeId = workflowNodeId;
        this.formId = formId;
        this.appId = appId;
        this.menuId = menuId;
        this.saasMark = saasMark;
        this.businessType = businessType;
        this.formName = formName;
        this.nodeName = nodeName;
        this.choose = choose;
        this.triggerNodeFlag = triggerNodeFlag;
    }
}
